<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<input type="text" name="a" id="1"/><br>
<input type="text" name="a" id="2"/><br>
<input type="text" name="a" id="3"/><br>



<script type="text/javascript" src="jslib/jquery-easyui-1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="jslib/jquery-easyui-1.4.1/jquery.easyui.min.js"></script>
<script type="text/javascript" src="jslib/jquery-easyui-1.4.1/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="jslib/easyui_extend.js"></script>

<script>
    $().ready($("input[type=text]").sheach(function(o,p){
                alert(this.id);
            })

    );
</script>
</body>
</html>